package fl.video;

extern class FLVPlayback extends flash.display.Sprite {
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _firstStreamReady : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _firstStreamShown : Bool;
	var activeVideoPlayerIndex : UInt;
	var align : String;
	var autoPlay : Bool;
	var autoRewind : Bool;
	var backButton : flash.display.Sprite;
	var bitrate : Float;
	var boundingBox_mc : flash.display.DisplayObject;
	var bufferTime : Float;
	var buffering(default,never) : Bool;
	var bufferingBar : flash.display.Sprite;
	var bufferingBarHidesAndDisablesOthers : Bool;
	var bytesLoaded(default,never) : UInt;
	var bytesTotal(default,never) : UInt;
	var componentInspectorSetting(never,default) : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var cuePointMgrs : Array<Dynamic>;
	var cuePoints(never,default) : Array<Dynamic>;
	var endTabIndex(default,never) : Int;
	var forwardButton : flash.display.Sprite;
	var fullScreenBackgroundColor : UInt;
	var fullScreenButton : flash.display.Sprite;
	var fullScreenSkinDelay : Int;
	var fullScreenTakeOver : Bool;
	var idleTimeout : Float;
	var isLive : Bool;
	var isRTMP(default,never) : Bool;
	var metadata(default,never) : Dynamic;
	var metadataLoaded(default,never) : Bool;
	var muteButton : flash.display.Sprite;
	var ncMgr(default,never) : INCManager;
	var pauseButton : flash.display.Sprite;
	var paused(default,never) : Bool;
	var playButton : flash.display.Sprite;
	var playPauseButton : flash.display.Sprite;
	var playheadPercentage : Float;
	var playheadTime : Float;
	var playheadUpdateInterval : Float;
	var playing(default,never) : Bool;
	var preferredHeight(default,never) : Int;
	var preferredWidth(default,never) : Int;
	var preview(never,default) : String;
	var progressInterval : Float;
	var registrationHeight : Float;
	var registrationWidth : Float;
	var registrationX : Float;
	var registrationY : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var resizingNow : Bool;
	var scaleMode : String;
	var scrubbing(default,never) : Bool;
	var seekBar : flash.display.Sprite;
	var seekBarInterval : Float;
	var seekBarScrubTolerance : Float;
	var seekToPrevOffset : Float;
	var skin : String;
	var skinAutoHide : Bool;
	var skinBackgroundAlpha : Float;
	var skinBackgroundColor : UInt;
	var skinFadeTime : Int;
	var skinScaleMaximum : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var skinShowTimer : flash.utils.Timer;
	var source : String;
	var startTabIndex(default,never) : Int;
	var state(default,never) : String;
	var stateResponsive(default,never) : Bool;
	var stopButton : flash.display.Sprite;
	var stopped(default,never) : Bool;
	var totalTime : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var uiMgr : UIManager;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var videoPlayerStateDict : flash.utils.Dictionary;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var videoPlayerStates : Array<Dynamic>;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var videoPlayers : Array<Dynamic>;
	var visibleVideoPlayerIndex : UInt;
	var volume : Float;
	var volumeBar : flash.display.Sprite;
	var volumeBarInterval : Float;
	var volumeBarScrubTolerance : Float;
	function new() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function _scrubFinish() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function _scrubStart() : Void;
	function addASCuePoint(p1 : Dynamic, ?p2 : String, ?p3 : Dynamic) : Dynamic;
	function assignTabIndexes(p1 : Int) : Int;
	function bringVideoPlayerToFront(p1 : UInt) : Void;
	function closeVideoPlayer(p1 : UInt) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function createVideoPlayer(p1 : Float) : Void;
	function enterFullScreenDisplayState() : Void;
	function findCuePoint(p1 : Dynamic, ?p2 : String) : Dynamic;
	function findNearestCuePoint(p1 : Dynamic, ?p2 : String) : Dynamic;
	function findNextCuePointWithName(p1 : Dynamic) : Dynamic;
	function getVideoPlayer(p1 : Float) : VideoPlayer;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function handleAutoLayoutEvent(p1 : AutoLayoutEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function handleMetadataEvent(p1 : MetadataEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function handleVideoEvent(p1 : VideoEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function handleVideoProgressEvent(p1 : VideoProgressEvent) : Void;
	function isFLVCuePointEnabled(p1 : Dynamic) : Bool;
	function load(p1 : String, p2 : Float = 0./*NaN*/, p3 : Bool = false) : Void;
	function pause() : Void;
	function play(?p1 : String, p2 : Float = 0./*NaN*/, p3 : Bool = false) : Void;
	function playWhenEnoughDownloaded() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function queueCmd(p1 : VideoPlayerState, p2 : Float, p3 : Float = 0./*NaN*/) : Void;
	function removeASCuePoint(p1 : Dynamic) : Dynamic;
	function seek(p1 : Float) : Void;
	function seekPercent(p1 : Float) : Void;
	function seekSeconds(p1 : Float) : Void;
	function seekToNavCuePoint(p1 : Dynamic) : Void;
	function seekToNextNavCuePoint(p1 : Float = 0./*NaN*/) : Void;
	function seekToPrevNavCuePoint(p1 : Float = 0./*NaN*/) : Void;
	function setFLVCuePointEnabled(p1 : Bool, p2 : Dynamic) : Float;
	function setScale(p1 : Float, p2 : Float) : Void;
	function setSize(p1 : Float, p2 : Float) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function showFirstStream() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function showSkinNow(p1 : flash.events.TimerEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function skinError(p1 : String) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function skinLoaded() : Void;
	function stop() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) static var DEFAULT_SKIN_SHOW_TIMER_INTERVAL(default,never) : Float;
	static var SEEK_TO_PREV_OFFSET_DEFAULT(default,never) : Float;
	static var SHORT_VERSION(default,never) : String;
	static var VERSION(default,never) : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) static var skinShowTimerInterval(default,never) : Float;
}
